﻿using Basic.FormRemoteModel.Form;
using Basic.UserFormService.Interface;
using WeDonekRpc.Client.Interface;

namespace Basic.UserFormService.RpcEvent
{
    internal class PhyFormEvent : IRpcApiService
    {
        private readonly IPhyFormService _Service;

        public PhyFormEvent ( IPhyFormService service )
        {
            this._Service = service;
        }

        public void SyncPhyFormBody ( SyncPhyFormBody obj )
        {
            this._Service.Sync(obj.Id);
        }
    }
}
